home *** CD-ROM | disk | FTP | other *** search
- Path: chronicle.mti.sgi.com!austern
- From: Michael Cook <mcook@cognex.com>
- Newsgroups: comp.std.c++
- Subject: Re: Returning void
- Date: 20 Feb 1996 10:46:42 PST
- Organization: Cognex Corporation, Natick, Massachusetts
- Approved: austern@isolde.mti.sgi.com
- Message-ID: <r4enrslcl9.fsf@erawan.cognex.com>
- References: <3125C4A3.5C00@ix.netcom.com>
- NNTP-Posting-Host: isolde.mti.sgi.com
- X-Original-Date: 18 Feb 1996 13:20:50 -0500
- X-Newsreader: September Gnus v0.38/Emacs 19.30
- X-Auth: PGPMoose V1.1 PGP comp.std.c++
- iQBVAwUBMSoXI0y4NqrwXLNJAQEF/AH9HaiwdYx9KcF4CFnbsdpu2jht6rhTk2tr
- I4g9dK+PA6JTeDnYh5pGItmehbnItnKoKRves2n0SMJEKWKDtB0iYw==
- =Zi1x
- Originator: austern@isolde.mti.sgi.com
-
- >>>>> "P" == "Paul D DeRocco" <pderocco@ix.netcom.com> writes:
-
- P> R& operator()() { return (obj.*mem)(); }
-
- You're trying to return a `void&', not a `void'.
- Surely we wouldn't want the standard to allow `void&'.
- ---
- [ To submit articles: Try just posting with your newsreader. If that fails,
- use mailto:std-c++@ncar.ucar.edu
- FAQ: http://reality.sgi.com/employees/austern_mti/std-c++/faq.html
- Policy: http://reality.sgi.com/employees/austern_mti/std-c++/policy.html
- Comments? mailto:std.c++-request@ncar.ucar.edu
- ]
-